HTMLify
Sort An Array of 0s, 1s and 2s.cpp(CN)
Views: 1 | Author: cody
1 2 3 4 5 6 | #include <bits/stdc++.h>
void sortArray(vector<int>& arr, int n)
{
// Write your code here
sort(arr.begin(), arr.end());
}
|